package com.hejjon.domain.bo;

import com.hejjon.core.bean.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Map;

@EqualsAndHashCode(callSuper = true)
@Data
public class RunInsertSqlBO extends RunSqlBO {

    public RunInsertSqlBO(RunSqlBO runSqlBO) {
        this.setDatabaseName(runSqlBO.getDatabaseName());
        this.setConnection(runSqlBO.getConnection());
    }


    /**
     * 字段列表
     */
    private List<TableField> fieldList;

    /**
     * 值列表
     */
    private List<Map<String, Object>> valueList;

}
